package com.atguigu.tingshu.order.adapter.impl;

import com.atguigu.tingshu.order.adapter.PayWay;
import com.atguigu.tingshu.vo.order.OrderInfoVo;
import org.springframework.stereotype.Service;

/**
 * <a href="https://www.shallowrecall.top/">Recall`Blog</a></br>
 * <a href="https://github.com/ShallowRecall">GitHub</a>
 *
 * @author Recall
 * @createTime 2025/06/09 16:53
 **/
@Service
public class ZhifubaoPayWayImpl implements PayWay {
    @Override
    public boolean isSupport(String payWay) {
        return "1102".equals(payWay);
    }

    @Override
    public void dealPayWay(OrderInfoVo orderInfoVo, Long userId, String orderNo) {
        // 支付宝支付逻辑
    }
}
